package com.itheima.domain.db;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SoulQuestionOption implements Serializable {

    private Long id;
    private String content;  // 问题选项
    private Long questionId; // 该选项所对应的问题
    private Integer score;    // 分数
    private Integer extroversion;//外向
    private Integer judgement;//判断
    private Integer abstraction;//抽象
    private Integer rationality;//理性

    @TableField(fill = FieldFill.INSERT)
    private Date created;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updated;
}
